<include file="Template:pageheader"/>

<css href="__PUBLIC__/Css/jquery-ui.css"/>
<js href="__PUBLIC__/Js/core/jquery-ui.1.10.4.js"/>
<css href="__PUBLIC__/Plugs/dialog/dialog.css"/>
<js href="__PUBLIC__/Plugs/dialog/dialog.js"/>
<js href="__PUBLIC__/Js/listTable.js"/>

<div class="rightbanner">
	<table id="mytab"  border="1" class="t1" width="100%">
	    <tr class="a1">
	      <td width="30px">{$lang.node_id}</td>
	      <td width="170px">{$lang.node_name}</td>
	      <td>{$lang.title}</td>
	      <td width="100px" align="center">{$lang.status}</td>
	      <td align="center">{$lang.remark}</td>
	      <td align="center">{$lang.parent_id}</td>
	      <td align="center">{$lang.sort_order}</td>
	      <td align="center">{$lang.level}</td>
	      <td align="center">{$lang.action}</td>
	    </tr>		   
	    <volist name="nodeList" id="node">
	    	<tr class="value">
			  <td>{$node.id}</td>
		      <td>{$node.name}</td>
		      <td>
				   {$node.title}
		      </td>		            
		      <td align="center">
		      		<img class="pointer" onclick="listTable.toggle(this, 'status', {$node.id});" src="__PUBLIC__/Image/<if condition="$node.status eq 1">bg_yes.gif<else/>bg_no.gif</if>"/>
			  </td>
			  <td>
		      	  {$node.remark}
		      </td>		
			  <td>
		      	  {$node.pid}
		      </td>	
			  <td>
		      	  {$node.sort_order}
		      </td>	
			  <td align="center">
		      	  {$node.level}
		      </td>	
		      <td width="200px" align="center">
		       	<div class="ml20">			       		
		      		<span>
		      			<a href="javascript:listTable.remove({$node.id},'{$lang.confirm_text}');">{$lang.delete}</a>&nbsp;&nbsp;
		      			<a href="__URL__/mod_node/?id={$node.id}">{$lang.modify}</a>
		      		</span>
		       	</div>
		       </td>
		    </tr>
	    </volist>		   
	</table>	
</div>


<literal>
<script>
	//Initialize Url
	listTable.init('__URL__/nodeAjaxTable'); 
	
</script>	
</literal>

<include file="Template:pagefooter"/>



